#include <iostream>
#include <vector>
#include <map>
#include <algorithm>
#include <string>
using namespace std;

int main(int argc, char const *argv[])
{
	vector<string> vec{"sadsad","dsadsad","sdsadsad"};
	map<int,int> mp1;
	int sz = 10;
	for_each(vec.begin(), vec.end(),[&,sz](const string& rhs) mutable{
		mp1[rhs.size()]++;
	});

	return 0;
}